From: Florian Müllner Date: Sat, 20 Jul 2019 10:11:55 +0000 (+0200) Subject: background: Adjust to gnome-desktop API break X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f9a7718dda9641bf3750faba789edd701dfff5da;p=gnome-shell.git background: Adjust to gnome-desktop API break gnome-desktop broke API in commit ca5d61cf24, as it didn't *add* a property as incorrectly stated in the commit message, but *replaced* an existing one. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1457 --- diff --git a/js/ui/background.js b/js/ui/background.js index 0c0049b00..16bd1c573 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -633,7 +633,7 @@ var Animation = class Animation { } load(callback) { - this._show = new GnomeDesktop.BGSlideShow({ filename: this.file.get_path() }); + this._show = new GnomeDesktop.BGSlideShow({ file: this.file }); this._show.load_async(null, (object, result) => { this.loaded = true;